package com.future.bridge;

/**
 * Description:
 *
 * @author weiruibai.vendor
 * Date: 2022/2/22 09:47
 */
public class Rectangle extends Shape {
    public Rectangle(Color color) {
        super(color);
    }

    @Override
    void draw() {
        System.out.println("长方形，颜色：" + getColor().getColorName());
    }
}
